import request from '@/utils/request'

export function list(data) {
  return request({
    url: 'knowledge/list',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: 'knowledge/edit',
    method: 'post',
    data
  })
}

export function detail(data) {
  return request({
    url: 'knowledge/detail',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: 'knowledge/del',
    method: 'post',
    data
  })
}
